﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HX.Web.Users.Common;

namespace ARS.Control.Custom.Entity.Forms
{
    public class PasswordForm : CharForm
    {
        public PasswordForm()
        {
            base.inputType = "password";
        }

        protected override void RenderContents(System.Web.UI.HtmlTextWriter output)
        {
            base.RenderContents(output);
        }

        public override object GetInputValue()
        {
            HX.Web.Users.Common.Users commonUsers=new Users();
            object pwd = base.GetInputValue();
            if (pwd==null)
            {
                return null;
            }
            else
            {
                return commonUsers.Password(pwd.ToString());
            }
            
        }
    }
}
